package com.idp.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品DTO类
 * @author： King
 */
@Data
@ApiModel("商品DTO类")
public class GoodsDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
	private String id;
	@ApiModelProperty("商品类别")
	private String categoryId;
	@ApiModelProperty("商品名称")
	private String goodsName;
	@ApiModelProperty("商品标签")
	private String tag;
	@ApiModelProperty("商品详情")
	private String description;
	@ApiModelProperty("商品缩略图")
	private String thumbImage;
	@ApiModelProperty("商品banner图")
	private String bannerImages;
	@ApiModelProperty("库存")
	private Integer remainCount;
	@ApiModelProperty("销量")
	private Integer sellCount;
	@ApiModelProperty("价格")
	private BigDecimal price;
	@ApiModelProperty("状态：1待上架，2上架销售，3下架")
	private String status;
	@ApiModelProperty("上架时间")
	private Date addTime;
	@ApiModelProperty("类型名称")
	private String categoryName;
}
